package com.kzx.zijiceshi;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestMain {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext ac =
				new AnnotationConfigApplicationContext(TestConfiguration.class);
//		AnnotationConfigApplicationContext ac =
//				new AnnotationConfigApplicationContext();
//		ac.getBeanFactory().registerSingleton("cc", new C());
//		ac.addBeanFactoryPostProcessor(new D());
//
//		ac.register(TestConfiguration.class);
//		ac.refresh();
//
//		ac.getBean("cc");

	}

}
